/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.zxr.model.query;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.starter.data.core.annotation.Query;
import top.continew.starter.data.core.enums.QueryType;

import java.io.Serial;
import java.io.Serializable;
import java.time.*;

/**
 * 采购订单查询条件
 *
 * @author yfh
 * @since 2025/05/07 16:20
 */
@Data
@Schema(description = "采购订单查询条件")
public class CgddQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 所属采购合同编号
     */
    @Schema(description = "所属采购合同编号")
    @Query(type = QueryType.EQ)
    private String sscghtbh;

    /**
     * 订单状态编码
     */
    @Schema(description = "订单状态编码")
    @Query(type = QueryType.EQ)
    private String ddztbm;

    /**
     * 采购订单编号
     */
    @Schema(description = "采购订单编号")
    @Query(type = QueryType.EQ)
    private String cgddbh;

    /**
     * 需求来源编码
     */
    @Schema(description = "需求来源编码")
    @Query(type = QueryType.EQ)
    private String xqlybm;

    /**
     * 关联销售订单编号
     */
    @Schema(description = "关联销售订单编号")
    @Query(type = QueryType.EQ)
    private String glxsddbh;

    /**
     * 供货方编号
     */
    @Schema(description = "供货方编号")
    @Query(type = QueryType.EQ)
    private Long ghfbh;

    /**
     * 采购方编号
     */
    @Schema(description = "采购方编号")
    @Query(type = QueryType.EQ)
    private Long cgfbh;

    /**
     * 燃料类型编号
     */
    @Schema(description = "燃料类型编号")
    @Query(type = QueryType.EQ)
    private String rllxbh;
}